package com.EstateManager.Entity;

import java.util.Set;

/**
 * User entity. @author MyEclipse Persistence Tools
 */
public class User extends AbstractUser implements java.io.Serializable, Cloneable {

	// Constructors

	/** default constructor */
	public User() {
	}

	/** minimal constructor */
	public User(String username, String password, String tel, String cardNo,
			String sex, String realName, String nickName) {
		super(username, password, tel, cardNo, sex, realName, nickName);
	}

	/** full constructor */
	public User(String username, String password, String tel, String cardNo,
			String sex, String realName, String nickName, String email,
			Set estatebasicinfos, Set estatescheduals) {
		super(username, password, tel, cardNo, sex, realName, nickName, email,
				estatebasicinfos, estatescheduals);
	}
	
	/* (non-Javadoc)
	 * @see java.lang.Object#clone()
	 */
	@Override
	public Object clone() throws CloneNotSupportedException {
		try {
			return super.clone();
		} catch (Exception e) {
			
			e.printStackTrace(System.out);
			return null;
		}
	}

}
